< previous page page_562 next page >

Page 562
0562-01.jpg
Figure 25.17
You can choose a number of command
buttons to appear on your form.
Table 25.3 Command Button Controls and Their Functions
Available ControlsFunction
AddAdds a new record to the recordset and clears the data entry fields.
EditAllows the user to modify the currently selected record.
UpdateStores any changes made to the data entry fields to the database for the current record.
DeleteDeletes the current record.
RefreshCauses the Data control to reexecute the query used to create it. This process is necessary only in a multiuser environment.
CloseCloses and unloads the data entry form.
Show Data ControlIf you selected the Grid (Datasheet) form type and ADO Data Control Binding Type, this option includes a button that allows the user to see the underlying ADO Data control.

You are now ready for the final step of the DFWactually creating your form. Click the Finish button to start the creation process. At this point, you can sit back and relax for a minute while the DFW does the work. When it is finished, your program has a new data form, and all you did was answer a few questions and make a few selections. Figures 26.18 through 26.20 show you several types of data forms that you can create with the DFW.

 
< previous page page_562 next page >